Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODDraft


SetChangedFromPrev

The SetChangedFromPrev method marks this draft as dirty.

void SetChangedFromPrev ();
DISCUSSION
A draft is said to be dirty if it contains changes since it was last saved. This method lets you mark a draft as dirty when your part's content changes, so that the content changes will be saved.

This method can be called only if this draft's current permissions provide write access.

Note that a draft cannot be marked clean after it has been marked dirty. However, you can call the RemoveChanges method to remove all the changes from this draft.

SEE ALSO
The ODDraft::ChangedFromPrev method (page 161).
The ODDraft::RemoveChanges method (page 176).
Listing 2-52 on page 117 in OpenDoc Cookbook.
"Making Content Changes Known" on page 307 in OpenDoc Programmer's Guide.
"Breaking and Cutting Links" on page 399 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help